package com.test.qpbgboot.user.mapper;

import com.test.qpbgboot.user.pojo.entity.UserFollowing;
import com.test.qpbgboot.user.pojo.vo.UserFansVO;
import com.test.qpbgboot.user.pojo.vo.UserFollowingVO;

import java.util.List;

public interface UserFollowingMapper {
    List<UserFollowingVO> selectUserFollowingVObyUserId(Long userId);
    List<UserFansVO> selectUserFansVObyUserId(Long userId);
    Long selectUserFollowingIdByUserFollowing(UserFollowing userFollowing);
    Long selectFollowingNumByUserId(Long userId);
    Long selectFansNumByUserId(Long userId);
    void insert(UserFollowing userFollowing);
    void deleteById(Long id);
}
